package com.example.lyl.yuejian.bean;

import java.util.List;

/**
 * Created by dllo on 18/3/25.
 */

public class PhotoLvBean {


    /**
     * message : 查询成功
     * data : [{"pid":1,"pname":"今天的比赛好激烈","pic":"172.16.17.56:8080/images/fa551da6460b480b97f34f7ad19b7617.jpeg","uid":1,"ptime":"2018-03-08 16:57:15.0","user":{"uid":1,"uname":"lipeng","upsw":"123","usex":"女","utel":"13842879884","upic":"/images/cd1f5685d92348bd9f7d19ea1c3ac6a4.png","uintro":"123","uadress":"dalian neusoft","ustate":1,"file":null},"file":null,"commentList":[{"comid":1,"uid":1,"pid":1,"comcontent":"对啊","comtime":"2018-05-03 11:17:52.0","user":null,"photo":null},{"comid":2,"uid":1,"pid":1,"comcontent":"1","comtime":"2018-03-08 20:21:16.0","user":null,"photo":null}]},{"pid":2,"pname":"好精彩","pic":"172.16.17.56:8080null","uid":2,"ptime":"2018-03-20 10:49:23.0","user":{"uid":2,"uname":"1","upsw":"1","usex":"2","utel":"1","upic":"/images/edeebad13fc149ef8359af35ccfc4a10.png","uintro":"1","uadress":"1","ustate":1,"file":null},"file":null,"commentList":[{"comid":3,"uid":3,"pid":2,"comcontent":"111222333","comtime":"2018-03-20 10:49:56.0","user":null,"photo":null}]}]
     * code : 1
     */

    private String message;
    private String code;
    private List<DataBean> data;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * pid : 1
         * pname : 今天的比赛好激烈
         * pic : 172.16.17.56:8080/images/fa551da6460b480b97f34f7ad19b7617.jpeg
         * uid : 1
         * ptime : 2018-03-08 16:57:15.0
         * user : {"uid":1,"uname":"lipeng","upsw":"123","usex":"女","utel":"13842879884","upic":"/images/cd1f5685d92348bd9f7d19ea1c3ac6a4.png","uintro":"123","uadress":"dalian neusoft","ustate":1,"file":null}
         * file : null
         * commentList : [{"comid":1,"uid":1,"pid":1,"comcontent":"对啊","comtime":"2018-05-03 11:17:52.0","user":null,"photo":null},{"comid":2,"uid":1,"pid":1,"comcontent":"1","comtime":"2018-03-08 20:21:16.0","user":null,"photo":null}]
         */

        private int pid;
        private String pname;
        private String pic;
        private int uid;
        private String ptime;
        private UserBean user;
        private Object file;
        private List<CommentListBean> commentList;

        public int getPid() {
            return pid;
        }

        public void setPid(int pid) {
            this.pid = pid;
        }

        public String getPname() {
            return pname;
        }

        public void setPname(String pname) {
            this.pname = pname;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public int getUid() {
            return uid;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public String getPtime() {
            return ptime;
        }

        public void setPtime(String ptime) {
            this.ptime = ptime;
        }

        public UserBean getUser() {
            return user;
        }

        public void setUser(UserBean user) {
            this.user = user;
        }

        public Object getFile() {
            return file;
        }

        public void setFile(Object file) {
            this.file = file;
        }

        public List<CommentListBean> getCommentList() {
            return commentList;
        }

        public void setCommentList(List<CommentListBean> commentList) {
            this.commentList = commentList;
        }

        public static class UserBean {
            /**
             * uid : 1
             * uname : lipeng
             * upsw : 123
             * usex : 女
             * utel : 13842879884
             * upic : /images/cd1f5685d92348bd9f7d19ea1c3ac6a4.png
             * uintro : 123
             * uadress : dalian neusoft
             * ustate : 1
             * file : null
             */

            private int uid;
            private String uname;
            private String upsw;
            private String usex;
            private String utel;
            private String upic;
            private String uintro;
            private String uadress;
            private int ustate;
            private Object file;

            public int getUid() {
                return uid;
            }

            public void setUid(int uid) {
                this.uid = uid;
            }

            public String getUname() {
                return uname;
            }

            public void setUname(String uname) {
                this.uname = uname;
            }

            public String getUpsw() {
                return upsw;
            }

            public void setUpsw(String upsw) {
                this.upsw = upsw;
            }

            public String getUsex() {
                return usex;
            }

            public void setUsex(String usex) {
                this.usex = usex;
            }

            public String getUtel() {
                return utel;
            }

            public void setUtel(String utel) {
                this.utel = utel;
            }

            public String getUpic() {
                return upic;
            }

            public void setUpic(String upic) {
                this.upic = upic;
            }

            public String getUintro() {
                return uintro;
            }

            public void setUintro(String uintro) {
                this.uintro = uintro;
            }

            public String getUadress() {
                return uadress;
            }

            public void setUadress(String uadress) {
                this.uadress = uadress;
            }

            public int getUstate() {
                return ustate;
            }

            public void setUstate(int ustate) {
                this.ustate = ustate;
            }

            public Object getFile() {
                return file;
            }

            public void setFile(Object file) {
                this.file = file;
            }
        }

        public static class CommentListBean {
            /**
             * comid : 1
             * uid : 1
             * pid : 1
             * comcontent : 对啊
             * comtime : 2018-05-03 11:17:52.0
             * user : null
             * photo : null
             */

            private int comid;
            private int uid;
            private int pid;
            private String comcontent;
            private String comtime;
            private Object user;
            private Object photo;

            public int getComid() {
                return comid;
            }

            public void setComid(int comid) {
                this.comid = comid;
            }

            public int getUid() {
                return uid;
            }

            public void setUid(int uid) {
                this.uid = uid;
            }

            public int getPid() {
                return pid;
            }

            public void setPid(int pid) {
                this.pid = pid;
            }

            public String getComcontent() {
                return comcontent;
            }

            public void setComcontent(String comcontent) {
                this.comcontent = comcontent;
            }

            public String getComtime() {
                return comtime;
            }

            public void setComtime(String comtime) {
                this.comtime = comtime;
            }

            public Object getUser() {
                return user;
            }

            public void setUser(Object user) {
                this.user = user;
            }

            public Object getPhoto() {
                return photo;
            }

            public void setPhoto(Object photo) {
                this.photo = photo;
            }
        }
    }
}
